package com.guojiaming.shop.bean;

import com.google.gson.annotations.Expose;
import org.hibernate.validator.constraints.Length;

import java.util.Date;

/**
 * @author vivo
 */
public class MemberModify {
    @Expose
    private Integer memberId;
    @Length(max = 255)
    @Expose
    private String memberName;
    @Expose
    private Integer memberSex;
    @Expose
    private Date memberBirthday;
    @Length(max = 11, min = 11)
    @Expose
    private String memberPhone;
    @Expose
    private Long memberIntegral;

    public Integer getMemberId() {
        return memberId;
    }

    public void setMemberId(Integer memberId) {
        this.memberId = memberId;
    }

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    public Integer getMemberSex() {
        return memberSex;
    }

    public void setMemberSex(Integer memberSex) {
        this.memberSex = memberSex;
    }

    public Date getMemberBirthday() {
        return memberBirthday;
    }

    public void setMemberBirthday(Date memberBirthday) {
        this.memberBirthday = memberBirthday;
    }

    public String getMemberPhone() {
        return memberPhone;
    }

    public void setMemberPhone(String memberPhone) {
        this.memberPhone = memberPhone;
    }

    public Long getMemberIntegral() {
        return memberIntegral;
    }

    public void setMemberIntegral(Long memberIntegral) {
        this.memberIntegral = memberIntegral;
    }
}
